home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
jam
/
jamdisk4
/
arpuserdocs3.1
/
dir
< prev
next >
Wrap
Text File
|
1995-03-18
|
4KB
|
133 lines
Dir(V1.3) ARP User's Manual Dir(V1.3)
NAME
Dir - Pretty display of files and directories.
SYNOPSIS
DIR Dir OPT/k [ADFHIS] SIZE/s INTER/s HILITE/s FILES/s
DIRS/s ALL/s
DESCRIPTION
Dir by itself displays any files and directories in the
current directory. By default, Dir will display any
subdirectories, one per line, and then any files, in two
columns, in sorted order. Directories are followed by the
string "(dir)".
You can specify an alternate directory to display as an
argument, and you may also use wildcards. If you use
wildcards, Dir will display all files that match that
wildcard pattern. If it encounters a directory during the
course of its search for matching patterns, it will display
the name of the directory, and also its contents.
OPTIONS
The ARP Dir command supports all the options of the original
BCPL Dir, and several more as well. Using the ARP Dir
command, you can use the keyword OPT, and then the single
letter which represents the option you desire, or you may
use the clearer keyword equivalents supplied. The options
and their keyword equivalents are described below:
SIZE or OPT S
This ARP option displays the names of the files and
their sizes in two columns on the display device. If a
directory is encountered, it is identified as usual
with a "(dir)".
HILITE or OPT H
This ARP option enables pretty printing of Dirs output.
All directory names will be displayed in inverse video.
FILES or OPT F
This displays only files, any directories found will
will not be displayed.
DIRS or OPT D
This displays only directories, any files found will
not be displayed.
ALL This option displays the complete contents of that
branch of the directory tree. As Dir descends a level,
the indentation is increased to make the organization
Page 1 (printed 4/28/89)
Dir(V1.3) ARP User's Manual Dir(V1.3)
of the disk clearer to the eye. You may use some of
the other options or keywords along with ALL to
generate the display you need.
INTER or OPT I
This allows interactive file browsing through a
directory or a disk. Using this option, you will be
presented with a file or directory name, followed by a
question mark. You can find out what additional options
are available to you at this point by typing another
question mark '?', and pressing return. These are:
B=BACK
Moves backwards, up the directory tree. If you
are at the top, this will exit the listing.
DEL=DELETE
This will delete the current file.
E=ENTER
This will enter a directory. Note that you must
be at a directory entry in order for this option
to be valid.
Q=QUIT
This will quit Dir.
T=TYPE
This will type the current file.
C=COM
This takes any command as an argument, and sends
it to a subshell. Any shell command can be used
here, including the IO Redirection operators (<,
>, and >>). If you do not specify a command as
an argument, you will be prompted for one.
EXAMPLE
To get a listing of all directories on drive DF1:
DIR DF1: ALL DIRS
or
DIR DF1: OPT AD
To get a listing of all directories and files and the sizes
of the files on drive df0:, as well as displaying the
directories in inverse video do:
DIR DF1: ALL SIZES HILITE
or
DF1: OPT ASH
Page 2 (printed 4/28/89)